package com.buddy.spring.boot;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @author buddy
 * @date 2021/10/28
 */
@SpringBootApplication
@EnableTransactionManagement
@MapperScan(basePackages = {"com.buddy.spring.boot.dao"})
public class Main {

    public static void main(String[] args) {
        SpringApplication.run(Main.class, args);
    }
}
